home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8588 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: osiris.ivy-ops.orbis.net!NewsWatcher!user
  2. From: kempkec@multiad.com (Christopher Kempke)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Learning C++
  5. Date: 15 Feb 1996 16:27:14 GMT
  6. Organization: Multi-Ad Services, Inc.
  7. Message-ID: <kempkec-1502961025460001@205.164.77.10>
  8. References: <3122A6ED.6BA4@inch.com>
  9. NNTP-Posting-Host: 205.164.77.10
  10.  
  11. In article <3122A6ED.6BA4@inch.com>, Ken Blum <kblum@inch.com> wrote:
  12.  
  13. > I hope this isn't inappropriate for this forum.  I appologize if it 
  14. >  is.
  15. >  
  16. >  I am interested in learning a higher lever programming language.  
  17. >  Presently I know some Lingo.  I am focusing on C & C++.  
  18. >  
  19. >  I have 3 questions
  20. >  
  21. >  1) Is C a prerequisite to learning C++?  Or can I just take a C++ 
  22. >  class?
  23.  
  24.     Depends on the class, but usually you will need to know C first.
  25. C++ is a more-or-less strict superset of C syntactically, so knowing
  26. C syntax and usage will allow more time in a class for teaching C++
  27. syntax and OOP stuff.  I've taught a couple of C++ classes at the 
  28. technical college level; they required C as a prerequisite.
  29. (Keep in mind that the C requirement is useful mainly as a syntax boost,
  30. not a programming boost, since C++/Object-Oriented programming tends to
  31. be very different from (presumedly structured) C programming.)
  32.  
  33. >  2) Does anyone know of a good place in Manhattan (NYC) to take C or
  34. >  C++?
  35.  
  36.     Can't help here, I'm a Minnesotan.
  37.  
  38. >  3) Will learning either language on the Mac platform transfer to
  39. >  Windows, UNIX or Windows NT.
  40.  
  41.     Again, it depends on the class.  If the class is named something like
  42. "Mac Programming in C++" it will tend to focus more on Mac Toolbox calls and
  43. the like, which are similar to Windows SDK calls in some respects, but not
  44. really portable.  On the other hand, if the class name doesn't mention
  45. "Macintosh", it's probably a general C++ class, and the things you learn
  46. will be mostly transferrable to other platforms.   
  47.  
  48.     Realize that while C++ is a very portable language, it's limited in 
  49. the same ways as C with regard to operating system level behaviors.  The
  50. "Standard Library" built in won't do you much good in writing apps that look
  51. the like system you're running on expects (unless that system is Unix, and
  52. even then the standard library probably won't give you everything.)  So 
  53. whichever platform you choose, you'll need to learn the OS-level libraries
  54. associtated with that platform (Mac Toolbox, Windows SDK, MFC, or OWL,
  55. Unix sockets/Xlib, or whatever), which is usually more complex than learning
  56. the C++ language itself.
  57.